package main

import (
	"gingorm/framwork"
	"net/http"

	"github.com/gin-gonic/gin"
)


type ReflectHandle struct {
	framwork.GroupRouter
}

func (h *ReflectHandle) Process(group *gin.RouterGroup) error {
	statuCode := http.StatusOK

	group.GET("/reflect/:words", func(c *gin.Context) {
		words := c.Param("words")
		c.String(statuCode, "%s", words)
	})
	
	group.GET("/beta", func(c *gin.Context){
		c.String(statuCode, "%s", "http://apps.samsung.com/betastore/closeAppDetail.as?appId=com.bw888.samsung&cId=000005803430")
	})
	return nil
}
